package com.example.ck.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户表(User)表实体类
 *
 * @author makejava
 * @since 2024-02-04 13:09:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class User extends Model<User> implements Serializable {
    //用户id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户头像
    private String header;
    //用户姓名
    private String username;
    //用户密码
    private String password;
    //用户职称
    private String professional;
    //用户邮箱
    private String email;
    //用户电话
    private String phone;
    //创建时间
    private LocalDateTime createtime;
    //更新时间
    private LocalDateTime updatetime;
    //用户类型
    private String type;
}

